package DBLayer;

import java.util.List;

import modelLayer.SalesOrder;

public interface IFDBSalesOrder {
	
	
	public List<SalesOrder> getAll(boolean retriveAssociation);
	
	public SalesOrder findSalesOrder(String salesOrderID, boolean retriveAssociation);
	
	public SalesOrder searchDateTime(String date, boolean retriveAssociation);
	
	public SalesOrder searchDileveryStatus(String deliveryStatus, boolean retriveAssociation);
	
	public int insertSalesOrder(SalesOrder soObj, boolean retriveAssociation) throws Exception;
	
	public int updateSalesOrder(SalesOrder soObj, boolean retriveAssociation);
	
	public int deleteSalesOrder(String salesOrderID, boolean retriveAssociation);

}
